<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">  
  <title>修改视频类别信息</title>
 </head>
 <body>
 <form method="post"  action="vtupdate.php" >
 <?php
   require_once('system/dbConnect.php');
   require_once('system/MyFunc.php');   
   connect();
   $id = $_GET['id'];  
   $sql = "select * from videotype where tid={$id} ";  
   $row = fetch_one($sql);  
   $typename = $row['typename'];
   $tid = $row['tid'];
 ?>
<table align="center" border="1" width=500>
<caption>修改类别信息</caption>
<tr>
  <td width="20%">id</td>
  <td width="80%"><?php  echo $id; ?>
  <input type="hidden" name="id" value=<?php  echo $row['tid'] ;?> > 
  </td>
</tr>
<tr>
  <td>视频类别名称：</td>
  <td><input type="text" name="typename" size=30  value=<?php  echo  $row['typename']; ?> >
  </td>
</tr>
<tr>
<td width=150></td>
<td>
<input type="submit" value="更新">
<input type="reset" value="重置">
</td>
</tr>
</table>
</form>
 </body>
</html>